package io.geekidea.boot.store.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.geekidea.boot.common.BaseEntity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

@Getter
@Setter
@NoArgsConstructor
@ToString(callSuper = true)
@TableName("tb_store")
public class Store extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1l;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("code")
    private String code;
    @TableField("areaId")
    private Integer areaId;
    @TableField("principal")
    private String principal;
    @TableField("phoneNumber")
    private String phoneNumber;
    @TableField("status")
    private String status;

    @TableField(exist = false)
    private String areaname;
    @TableField("longitude")
    private String longitude;
    @TableField("latitude")
    private String latitude;


}
